package spring.aop.around;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;

public class CaseThrowsAdvice implements ThrowsAdvice {
    public void afterThrowing(Exception e) {
        System.out.println("testThrowsAdvice.....afterThrowing1");
    }

    public void afterThrowing(Method method, Object[] args, Object target, Exception e) throws Throwable {
        System.out.println("testThrowsAdvice.....afterThrowing2" + method.getName() + "'   " + target.getClass().getName() + "   ");


    }
}
